Method and apparatus for presence based resource management

ABSTRACT

Methods and apparatus provide resource authorization based on a computer&#39;s presence information. Presence information may include information relating to a computer&#39;s operating environment. In some implementations, a presence detector on a computer determines presence information and provides the information to a resource manager. The computer may then generate a resource access request. A resource manager may then determine whether the resource request is authorized based, at least in part, on the presence information. The resource manager then responds to the resource access request, either granting or denying the request for resources.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation application of U.S. patent application Ser. No. 13/724,990, filed Dec. 21, 2012, now U.S. Pat. No. 9,117,054, and entitled “METHOD AND APARATUS FOR PRESENCE BASED RESOURCE MANAGEMENT.” The content of this prior application is considered part of this application, and is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

This disclosure relates to managing computing resources based on presence information. Specifically, methods and apparatus for managing access to computing resources by considering a computer's operating environment and interactions with one or more users are disclosed.

BACKGROUND

The security risk to corporate electronic assets is evolving due to several industry trends. First, the use of mobile devices, such as smart phones, is being widely adopted across the business community. As they adopt them, the users of mobile devices expect to use those devices to perform many of their day to day business processes. For example, smart phones are now used to access corporate email systems and other critical business systems that contain potentially vast amounts of sensitive information. This sensitive information may include, for example, health information (PHI), personally identifiable information (PII), financial information and confidential intellectual property. The existence of this sensitive information on mobile devices makes the information susceptible to data losses, for example, in cases in which the device is lost or stolen.

While the use of mobile devices increases the risk to corporate data generally, the risk may be based on how the mobile device is being used. For example, mobile devices located in certain regions or countries may present an increased risk to corporate data over mobile devices used in other regions or countries. Similarly, mobile devices utilizing particular network connection methods may present a higher risk (for example, sending data over unencrypted channels), when compared to other mobile devices.

While use of mobile devices is increasing the risk to corporate information assets, the evolving malicious software threat is also increasing that risk. Previous generations of malicious software might often destroy data on a computer or network after gaining control of a host computer. However, more modern malicious programs may take a more insidious approach. For example, instead of immediately damaging or destroying the infected hosts and their associated data, modern malicious applications may instead quietly subvert the host so that it may be put to use by the attacker. One of the more damaging attack profiles occurs when a malicious application is able to gain control of a computer for the purposes of forming a botnet.

A botnet is a network of compromised computers, each of which is known as a “bot.” These compromised computers, acting on the attacker's behalf and unbeknownst to the rightful owner of the computer, perform a variety of nefarious tasks, including participating in denial of service attacks or the sending of spam email.

Data theft from malicious software is also becoming an increasing problem. Fifty five percent of data loss is now attributed to data stealing malware web communications. The remaining 45% of non-web malware communications is caused by Trojans or email communications over non-web channels.

In some cases, a legitimate user may be unaware that their computer is infected with malicious software. This software may operate covertly, refraining from activities that may draw attention to its presence, such as excessive use of computing resources, including CPU, I/O channel bandwidth, network access, and the like.

SUMMARY

Embodiments of the disclosure may include a method of managing a computer's access to resources. The method may include receiving a request for computer resources, executing instructions on computer hardware to determine presence information relating to the computer, determining a resource control policy to apply to the request for computer resources based on the presence information, and executing instructions on computer hardware to allow or disallow the request for resources based on the policy. In an embodiment, the presence information indicates an interactivity level on the computer. In some of these embodiments, an interactivity level is based on whether an input has been received from an input device directly connected to the computer within a time period. In some embodiments, the interactivity level is based on whether an interactive shell is running on the computer. In an embodiment, the interactivity level is based on whether a screen saver is active on the computer's console. In an embodiment, the interactivity level is based on the amount of idle CPU cycles on the computer within a time period.

In some embodiments, the presence information indicates whether the computer is communicating over a secure network connection. In some embodiments, the presence information indicates the computer's location within a corporate network. In some embodiments, the presence information indicates the physical location of the computer.

In some embodiments, the resource control policy controls the use of hardware resources of the computer. In some embodiments, the resource control policy controls access to network data by the computer. In some of these embodiments, the access to network data is controlled based, at least in part, on one or more content categories of a URL identifying the network data.

In some of these embodiments, a first set of URL categories are accessible to the computer when the presence information indicates a first presence state and a second set of URL categories are accessible to the computer when the presence information indicates a second presence state.

In some other embodiments, the resource control policy controls whether network communication by the computer is encrypted. In some embodiments, the resource control policy controls whether network data sent by the computer is compressed. In some embodiments, the resource control policy controls whether network data sent by the computer is signed.

In some embodiments, the resource control policy controls the rate at which data sent or received by the computer may be transferred on a network. In some embodiments, the resource control policy controls content of email messages sent by the computer.

Another innovative aspect disclosed is an apparatus for managing a computer's access to resources. The apparatus includes a memory, a processor, configured to fetch instructions from the memory, a network interface, operatively coupled to the processor. The memory stores a presence management module, configured to cause the processor to receive and store presence information for the computer to a storage, a URL filtering interface module, configured to cause the processor to receive a URL access request including a requested URL, a URL categorization module, configured to cause the processor to determine one or more URL categories of the requested URL, a policy determination module, configured to cause the processor to determine a policy to apply to the requested URL based, at least in part, on the presence information for the computer, and a policy application module, configured to cause the processor to authorize or not authorize access to the requested URL by the computer based, at least in part, on the determined policy and the one or more URL categories. In some embodiments of the apparatus, the presence information indicates an interactivity level of the computer. In some embodiments, the URL access request is based, at least in part, on a request for the URL by the computer.

Another innovative aspect disclosed is an apparatus including a means for determining presence information relating to a computer, and a means for applying a resource control policy based on the presence information. In some embodiments, the presence information indicates at least one of an interactivity level of the computer or the computer's location within a corporate network, and wherein the resource control policy controls access to network data based, at least in part, on one or more content categories of a URL identifying the network data.

Another innovative aspect is a non-transitory computer readable medium, storing instructions that when executed by a processor perform a method of preventing the loss of sensitive data on a mobile device. The method includes determining presence information relating to a computer, and applying a resource control policy based on the presence information.

In some embodiments, the presence information indicates at least one of an interactivity level of the computer or the computer's location within a corporate network. In some embodiments, the resource control policy controls access to network data based, at least in part, on one or more content categories of a URL identifying the network data.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosed aspects will hereinafter be described in conjunction with the appended drawings, provided to illustrate and not to limit the disclosed aspects, wherein like designations denote like elements.

FIG. 1 illustrates a resource management system 100.

FIG. 2A illustrates one implementation of a resource management system 100.

FIG. 2B is a flowchart illustrating one method of accessing network content identified by a URL in the system 100 of FIG. 2A.

FIG. 3 is a functional block diagram of one implementation of a resource manager 110.

FIG. 4 is a functional block diagram of one implementation of a managed resource consumer 105.

FIG. 5 is a flowchart illustrating one embodiment of a method for managing computing resources based on presence information.

FIG. 6 is a flowchart illustrating one embodiment of a method for managing computing resources based on presence information.

FIG. 7 is a flowchart illustrating one embodiment of a method for managing resources based on presence information.

FIG. 8 is a flowchart illustrating one embodiment of a method for generating presence data.

FIG. 9 is a flowchart illustrating one embodiment of determining presence data.

DETAILED DESCRIPTION

As described above, the risks presented by mobile devices and malicious applications are substantial. For example, mobile devices may travel to destinations that present inherent risk to corporate assets. Furthermore, a corporate computer infected so as to join a botnet may participate in denial of service attacks or act as an agent for the sending of spam email. These actions by a corporate owned asset could subject the legitimate owner of the computer to legal liability or at a minimum result in negative publicity. Compromised computers may also act as agents for the attacker by sending sensitive data accessible from the compromised computer to the attacker.

To mitigate the effects of these risks, a computer's access to resources may be specifically tailored to minimize risk while providing the access necessary to perform important functions. Applications running on a computer have access to a variety of resources, including both resources local to the computer itself, such as processing power, disk space, and I/O channel bandwidth, but also resources external to the computer. These resources may include network bandwidth, and access to a variety of network applications such as email, internet browsing, network file transfer, networked file storage, and many more.

Depending on the computer's operating environment or presence, legitimate resource needs of a computer application may vary. Additionally, some operating environments present inherently greater risk than others. Therefore, some implementations may vary the accessibility of resources to applications running on the computer based on the computer's operating environment.

A computer's operating environment or presence may encompass various aspects of how the computer is being used. For example, presence information may encompass interactivity aspects of the computer, network connectivity aspects of the computer, or location aspects of the computer. For example, presence may encompass an interactivity level of the computer. Whether a user is currently logged in and working with the computer may be one dimension of an interactivity level. In some implementations for example, whether a computer's console is locked may indicate whether an interactive session is currently active, and whether a user is currently logged in and using the computer. Similarly, activation of a screen saver may provide a similar indication. Whether input has been received from a physically attached keyboard or pointing device may also provide an level of interactivity in some implementations.

The absence or presence of an interactive shell program may also provide an indication of whether the computer is currently being used in an interactive manner. Some computer operating systems support multi-user or remote login capability that provides for interactive use of the computer without use of the console. Implementations for managing resources on these computers may use the presence or activity of an interactive shell program that supports multi-user or remote login capabilities to provide an indication of whether the computer is currently in an interactive mode.

The allocation or authorization of resources to the computer may be based on the interactivity level determined by presence information. When an interactive session is active on a computer, an employee may be actively using an email application, and computing resources may be made available to applications running on the computer to ensure the interactive session is productive.

If the employee steps away from the computer, for example, to attend a meeting, the interactive shell they were using may become inactive. For example, a screen saver may activate, the terminal (such as the console) used by the interactive session may become locked, or their interactive shell program (such as the interactive shell described above), may stop consuming CPU cycles. When the interactive session becomes inactive or ends, the interactivity level of the computer is reduced, and resources authorized for use by applications running on the computer may be different when compared to when the interactive session was active and the interactivity level was also higher. The amount of CPU, I/O bandwidth, network data received or transferred, or the set of network applications that may send or receive data with the computer (for example, based on the network ports used by the network applications) may be different than when an interactive session is active on the computer. Some implementations, for example, may allow the computer to receive email when no interactive session is present, but not allow the computer to send email during that time.

In some implementations, the allocation or authorization of resources to the computer may be based on the ambient light or display settings of an interactive environment. For example, presence information may include the level of ambient light at a user's computer, or the display settings of a user's display. Display settings such as font size or the contrast level between the font and the background may be considered presence information. In some implementations, the display or transfer of sensitive information on or to a user's computer may be prohibited by a policy if the font size is above a predetermined threshold. In some other implementations, whether certain information may be displayed by or transferred to a computer may be based on the contrast level of a font on the computer. For example, some implementations may guard against the display of presentations on a display in environments outside a corporate network.

The type of display connected to a computer may also be considered presence information. In some implementations, access to network content may be based on the type of displays connected to a computer. For example, if a projection device is connected to a computer, some implementations may prohibit the transfer or display of certain types of content (for example, sensitive content) on or to the computer.

Whether a privacy shield is installed on a computer′ display may also be considered presence information, with policies that control the transfer or display of information on or to the computer based on whether the privacy shield is installed. For example, some displays may include sensors or switches that are activated when a privacy shield is installed. A policy may then control access to some data based on output from the sensors or switches.

In some implementations, particular display technologies may provide more privacy than others. For example, the viewing angle of some LCD displays may be more restricted than the viewing angle of other display technologies. In these implementations, the display technology or viewing angle may be considered presence information, with policies controlling access to some data based on the display technology or viewing angle parameters present in an interactive environment.

Some implementations may also vary access to network content identified by URLs based on presence information. For example, when an interactive session is active on a computer, the computer may be allowed to access and download network content from a first set of URL site categories. When no interactive session is active, a second set of URL categories may be accessible, which is different than the first set. Alternatively, implementations may vary a whitelist or blacklist of accessible URL categories or sites based on presence information.

In some implementations, available resources may vary based on the interactivity of the session running a particular application. For example, on a multi-user or multi account computer system, an application running under an account during an active interactive session may be provided with a first set of resource allocations, while the same application running under an account when there is no active interactive session may be provided with a second set of resource allocations.

In addition to interactivity, some aspects of presence may relate to the location of the computer. The risk to corporate data on a computing device may vary with the devices location, either geographically or by its location within a corporate intranet. For example, certain geographic locations may present a higher risk of theft to a corporate mobile device. Other locations may provide network communications infrastructure that is susceptible to snooping or industrial espionage. The security of corporate intranets may also vary. For example, while remote offices may include connections to the corporate intranet, their communications infrastructure may not receive the same level of management as the infrastructure at a corporate headquarters.

Presence may include the computer's physical location on the planet earth, for example, represented by latitude and longitude coordinates. Other aspects of presence relate to the computer's location within a network topology. For example, is the computer located at a corporate headquarters, a branch office, or VPN'ed into the corporate network from a coffee shop.

Therefore, some implementations may determine a resource control policy based on a computer's geographic location or location within a network topology. These resource control policies may, for example, vary the rate at which the computer can send or receive network data based on the computer's location. Some implementations may utilize policies that vary the network path used to communicate with the computer based on the computer's location.

Because the risk to the security of corporate data may vary by location, some implementations may vary the encryption requirements for data sent or received over a network based on the computer's location. Some other implementations may require that certain or all network data sent or received by a computer be electronically signed based on the computer's location. The location of the computer may also determine which network applications are accessible to applications running on the computer. For example, which particular protocol ports may be available to send data on or receive data on may be determined based on the location of the computer. The location of the computer may also determine the content of email messages sent or received by the computer. For example, in some implementations, an email header or footer may be inserted into emails sent from a particular location. The email header or footer may provide notice to the reader that the email was transferred through a less secure location, so that proper considerations may be taken when replying to the email or when opening attachments.

In some implementations, a data policy may not require that data stored on a storage medium be encrypted when a computer is operating within a defined geographic region or connected to a particular set of networks. For example, some implementations may determine that a computer is within a corporate campus based on its geographic location. Some implementations may determine that a computer is operating within a corporate network when it is connected directly to a corporate network or connected via a VPN to the corporate network. These implementations may determine that storage accessed by the computer can be unencrypted when operating in these environments.

These implementations may also detect when the computer transitions from the previously described “secure” environments, such as a corporate campus, to a less secure environment. For example, these implementations may detect when a computer moves off the corporate campus based on its geographic location, or they may detect when the computer connects directly to a non-corporate network. In these implementations, a policy may further require that a storage be encrypted when the computer is operating in a less secure environment. Some implementations may trigger an audit of a computer or a storage based on detecting a change in a security level of the computer's operating environment. One result of an audit could be that data accessed by or located on the computer be encrypted.

Presence information may also include one or more characteristics of the network connection used by the computer. This presence information may be used to determine parameters of the network connections, or restrictions on the type of data sent or received over that network connection. For example, the security level of the network connection may determine whether data sent or received by the computer should be encrypted. The security level of the network connection may also determine whether the resource control policy requires that data sent or received by the computer be electronically signed.

Presence information may also include the speed of a network connection used by the computer. A resource control policy may then be based on this presence information. For example, the rate at which the computer is authorized to send or receive data over a network connection may be based on the speed of the network connection. In some implementations, whether data sent or received by the computer is compressed may be based on whether the speed of the network connection used by the computer is below a threshold.

FIG. 1 illustrates a resource management system 100. The resource management system includes a managed resource consumer (MRC) 105. The MRC may be any entity that requires access to resources. For example, in the illustrated implementation, the MRC may be one or more application programs running on a computer. Alternatively, the MRC may be components of an operating system running on a computer. In other implementations, the MRC may be a node operating on a network.

The system 100 also includes a resource manager 110, a presence detector 115, a presence datastore 145, and resources to be managed 160. Resources to be managed 160 in the implementation of FIG. 1 include a CPU 165, and memory 170, and a storage 175. However, it should be noted that these are just examples, and not intended to limit the number or types of resources that may be managed by the proposed resource management system. For example, hardware resources of a computer may be managed as shown. In other implementations, the resources 160 may include network resources. In these implementations, the resource management system may manage how a MRC interacts with a communications network and utilizes the resources of the communications network. For example, the type, category, speed, security, or amount of data sent or received over a communications network may be managed.

Before accessing a resource 160, the MRC may submit a resource request 111 to the resource manager 110. The resource manager determines whether access to the resource, for example, any of the resources to be managed 160, should be granted. The decision may be based, at least in part, on presence information. Presence information may relate to one or more aspects of the MRC 105. For example, presence information may relate to the location, interactivity, or network connectivity of the MRC 105. Presence information is obtained in the illustrated implementation by the resource manager 110 from the presence datastore 145. The presence information may be written to the presence datastore by the presence detector 115.

In other implementations, presence information may be obtained by the resource manager 110 directly from the presence detector 115. For example, the resource manager 110 may periodically poll the presence detector to retrieve presence information. Alternatively, the presence detector 115 may asynchronously transmit presence information to the resource manager. For example, when presence information changes on the client computer running the presence detector, the presence detector may then send an update to the resource manager 110.

After the resource manager has made a determination of whether the MRC 105 may have access to a resource, it sends a resource response 112 to the MRC 105. The resource response may indicate whether the MRC 105 may have access to the requested resource.

FIG. 2A illustrates one implementation of a resource management system 100. The resource management system 100 includes managed resource consumers 105 a-i. In the illustrated implementation, the managed resource consumers 105 a-i are client computers 105 a-i. Client computers 105 a-g are connected to the Internet 130 via one or more network switches 140 a-b and a firewall 125. Computers 105 h-i are provided with access to corporate intranet 102 via VPN connections 106 a and 106 b. Computers 105 h-i access to Internet content identified by URLs may, in some implementations, be managed by a resource manager 110. In the illustrated implementation, the resource manager is a resource manager 110. In other implementations firewall 125 may be a resource manager. The resource manager may also be a network sniffer, router, proxy, cache, or switch.

In the illustrated implementation, the firewall 125 is in communication with the resource manager 110. In some implementations, resource manager 110 may be a URL filter server. For example, resource manager 110 may apply an access control policy to a URL access request. The access control policy may be based, at least in part, on a category of content stored at a destination server identified by the URL. The resource manager 110 in this implementation is in communication with a URL category database 120 and a URL filtering policy database 122. Client computers 105-a-i access the Internet 130 via firewall 125. Each client computer 105 a-i includes a presence detector 115. In the illustrated implementation, the presence detector 115 runs on each client computer 105 a-i. The presence detector 115 detects presence information for the client computer 105 a-i and sends the presence information to a presence datastore. In the illustrated implementation, the presence information sent by the presence detector 115 is sent to the resource manager or resource manager 110 and stored in a presence database 121. This presence information may be read by the resource manager 110 when determining whether resource requests 111 for URLs should be authorized.

FIG. 2B is a flowchart illustrating one method of accessing network content identified by a URL in the system 100 of FIG. 2A. Process 200 may be implemented by a combination of the firewall 125 and resource manager 110 illustrated in FIG. 2A. Process 200 begins at start block 205 and then moves to block 210, where a URL access request is received from a client computer. In some implementations, the URL access request may be an HTTP request generated by a client computer, for example, by a browser application running on a client computer. When one of client computers 105 a-i attempts to access content identified by a URL, the client computer sends a request that is received by the firewall 125. Process 200 then moves to processing block 215, where a URL access request is sent to a URL filter. In some implementations, if a firewall 125 receives the URL access request from a client computer 105, the firewall 125 sends a resource request 111 to the resource manager 110. The resource request 111 in the implementation illustrated by FIG. 2 may include the URL requested by the client computer.

Process 200 then moves to block 220. Upon receiving the resource request 111, the resource manager 110 searches the URL category database for the URL to identify one or more categories assigned to the URL. Process 200 then moves to decision block 225. If the URL is not found in the category database, process 200 moves to processing block 230, where a policy for handling uncategorized URLs is determined. An appropriate reply may be sent, based at least in part, on the policy determined in process block 230. If one or more categories are found in decision block 225, process 200 moves to decision block 235. In decision block 235, one or more categories may be compared to categories allowed by a URL filtering policy. The URL filtering policy may be stored in the URL filtering policy database 122, illustrated in FIG. 2. The URL filtering policy applied to the URL may be based on presence information in the presence database 121. Specifically, it may be based on presence information relating to the client computer (one of client computers 105 a-i) that initiated the resource request. This information may have been previously stored in the presence database 121, for example, by process 550 illustrated in FIG. 10.

If the URL category is allowed by the URL filtering policy, process 200 moves to processing block 240, where the URL filter sends a resource response 112 to the firewall 125 indicating access to the content identified by the URL is authorized. Upon receiving this response, the firewall 125 may allow the client computers generating the original request to access the Internet content identified by the URL. If the URL category is not allowed by the URL filtering policy, process 200 moves from decision block 235 to decision block 245, where the URL filter sends a resource response 112 to the firewall 125 indicating that access to the URL by the computer is not authorized. Upon receiving the resource response 112, the firewall may disallow access to the URL by the client computer. Whether process 200 executes processing block 240 or processing block 245, after processing of either block is complete, process 200 moves to end block 250 and terminates.

FIG. 3 is a functional block diagram of one implementation of a resource manager 110. In the illustrated implementation, resource manager 110 is implemented as a URL filtering server. The URL filtering server 110 includes a processor 320. Operatively coupled to the processor 320 is a working memory 305, a storage 310, a memory 315, and a network interface 348. The memory 305 stores several modules that include instructions for processor 320. These instructions configure the processor to perform functions of URL filtering server 110. For example, a presence detector communication module 325 includes instructions that configure the processor to communicate with a presence detector, such as presence detector 115, illustrated in FIG. 2.

A presence management module 327 includes instructions that configure the processor to detect and maintain presence information for one or more client computers, such as computers 105 a-i illustrated in FIG. 1. For example, the presence management module 327 may receive presence information from a presence detector, such as presence detector 115 in FIG. 2, via the presence detector communication module 325. The presence information received from the presence detector 115 may relate to the client computer upon which the presence detector 115 is running. For example, the presence information may relate to a managed resource consumer or client computer 105.

A URL categorization module 330 includes instructions that configure processor 320 to categorize a URL. For example, in some implementations, module 330 may categorize a URL by searching for the URL in a URL categorization database, such as database 120 illustrated in FIG. 2. The URL categorization database may map the URL to one or more categories. In some other implementations, the URL categorization module may configure processor 320 to categorize a URL by performing dynamic categorization of the network content identified by the URL. For example, when a request for access to content identified by a URL is received by the resource manager 110, the resource manager 110 may retrieve the Internet content identified by the URL. The content may then be analyzed to determine the category of the URL. For example, particular keywords or images may be identified in the content in order to assign the URL to one or more categories.

A policy determination module 335 includes instructions that configure processor 320 to identify an applicable policy for a URL request. For example, when a URL is received by the resource manager 110, the policy that is appropriate for the URL may be determined based on one or more attributes of the URL or data associated with the URL. For example, attributes that may be used to determine the appropriate policy for the URL include the time of day, the user requesting access to the URL, or the IP address of the client computer requesting access to the URL. In some implementations, a directory server may be consulted by the policy determination module 335 to identify one or groups defined by the directory to which the user requesting access to the URL belongs. These one or more groups may also be used to determine, at least in part, a policy to apply to the URL access request. Presence information associated with the computer requesting access to the URL may be used to determine the appropriate policy to apply the URL request. Whether the presence information indicates a first presence state or a second presence state may determine the policy applied to the URL request.

A policy application module 340 includes instructions that configure processor 320 to apply a policy to a URL access request. For example, the policy application module 340 may compare the URL category determined by the URL categorization module 330 against one or more allowed categories determined by a policy determined by the policy determination module 335. If the URL category is allowed by the determined policy, then access to the URL may be allowed by the resource manager 110. Conversely, if the policy indicates access to URL's in that category are not authorized, the requesting computer may be blocked from accessing content identified by the URL.

A URL filtering interface module 342 includes instructions that configure the processor 320 to provide URL filtering services. In some implementations, the URL filtering interface module 342 may implement a web service interface that allows interface clients, such as firewall 125 in FIG. 1, to send resource requests 111 to the URL filtering server 110. For example, some implementations may utilize a REST based interface while other implementations may use a SOAP based interface. Other interface designs are also contemplated. Some implementations may expose a sockets interface with a custom API to provide a resource request interface to the resource manager 110.

An operating system module 345 may include instructions that configure the processor 320 to manage the hardware and software resources of resource manager 110. For example, operating system module 345 may include instructions that provide for the modules described above to communicate over network interface 348. Operating system module 345 may also provide instructions that allow the modules described above to communicate with each other, or to utilize storage space provided by storage 310 or working memory 305.

FIG. 4 is a functional block diagram of one implementation of a managed resource consumer 105. In the illustrated implementation, managed resource consumer 105 is a client computer, as illustrated in FIG. 2. The client computer 105 includes a processor 460, gps receiver 495, working memory 465, network interface 475, a storage 470, and a memory 480. The memory 480 stores multiple modules that include instructions that configure processor 460 to perform functions of client computer 105. A presence detection module 485 includes instructions that configure processor 460 to detect presence information relating to computer 105. For example, the presence detection module 485 may detect whether an interactive session is active on client computer 105. Other presence information may also be detected by the presence detection module 485. For example, the presence detection module 485 may detect the physical location of client computer 105. To accomplish this, presence detection module 485 may read location values from a GPS receiver 495 in some implementations.

A resource manager communication module 488 includes instructions that communicate the client computer's presence information, detected by the presence detection module 485, to a resource manager, such as the resource manager 110, illustrated in FIG. 2 or FIG. 3.

The client computer 105 also includes an application module 489. The application module 489 includes instructions that configure processor 460 to implement one or more applications that utilize resources managed by a resource management system. For example, in some implementations, the application module 489 may implement one or more applications that consume hardware resources on client computer 105. For example, application module 489 may consume processor time on processor 460, memory space from working memory 465, or storage space from storage 470. Access to these resources may be controlled by resource manager module 490 discussed below.

In other implementations, application module 489 may implement one or more network applications that send or receive network data over network interface 475. For example, the instructions in application module 489 may implement an internet browsing program. Alternatively, the instructions may implement an instant messaging client, streaming client, or file transfer application. Application module 489 may also implement a custom application that sends and receives network data.

A resource manager module 490 includes instructions that manage resources of client computer 105 used by application module 489. In some implementations, the resource manager module 490 authorizes access to resources based, at least in part, on presence information for client computer 105. For example, resource manager module 490 may manage use of the GPS receiver 495, working memory 465, storage 470, or network interface 475 based on presence information, such as whether an interactive session is present on client computer 105. Note that the resource manager module 490 stored in memory 480 may not be included in all implementations. For example, in some other implementations, the resource manager 490 may be external to client computer 105. Some implementations may utilize a resource manager 110 as a resource manager 110. In these implementations, client computer 105 may request authorization to use or access resources from the external resource manager. In still other implementations, there may be an external resource manager and also a resource manager 490 included in the client computer 105. For example, an external resource manager may manage resources external to client computer 105, such as network resources, while an internal resource manager 490 may manage resources internal to client computer 105.

An operating system module 492 includes instructions that configure processor 460 to manage the software and hardware resources of client computer 105. For example, the resource manager communication module 488 may invoke subroutines in the operating system module 492 to send or receive network data over network interface 475. Subroutines in operating system module 492 may also be used to store data to data storage 470 or use working memory 465. Note that in some implementations, a local resource manager such as resource manager 490 may be closely integrated with or part of operating system module 492.

FIG. 5 is a flowchart illustrating one embodiment of a method for managing computing resources based on presence information. Process 500 may be implemented in some implementations by a resource manager 110, illustrated in FIG. 2. Some implementations may implement process 500 in a URL filter server, such as resource manager 110, illustrated in FIGS. 2 and 3. Process 500 begins at start block 502 and then moves to block 504, where presence information relating to a managed resource consumer is determined. In some implementations, a managed resource consumer may be a client computer, such as one of client computers 105 a-i, illustrated in FIG. 2. In other implementations, a managed resource consumer may be an application running on a client computer, such as application module 289 illustrated in FIG. 4.

Presence data determined in block 504 may relate to one or more characteristics of a managed resource consumer. For example, the presence data may indicate the physical location of the managed resource consumer, the location of the managed resource consumer within a particular network topology, the security level of the network connection used by the managed resource consumer, or the speed of the network connection used by the managed resource consumer. If the managed resource consumer is a client computer, the presence information may relate to whether a screen saver is currently active on the client computer, or whether the console of the client computer is currently locked. The presence information may also indicate whether any input has been received from a physically attached keyboard or pointing device within a time period, or how much idle time there has been on the client computer within a time period. The presence information may also indicate whether any programs implementing an interactive shell are running on the client computer, or if they are running, how much processing time they have consumed during a time period. Alternatively, how much time has elapsed since interactive shells running on the client computer have consumed CPU processing time may be included in the presence information. Processing block 504 may be implemented by instructions included in the presence management module 327, illustrated in FIG. 3.

Table 1 below illustrates presence data in some implementations. Some embodiments may implement one or more of the examples of presence data shown, and not implement other examples. In addition, some implementations may include additional presence data not shown in Table 1. Table 1 is provided only to show examples of presence data in some implementations and is not intended to be limiting:

TABLE 1 First Presence State Second Presence State Third Presence State Physical Location Oriented Presence MRC in Country X MRC in Country Y MRC in Country Z MRC in Zip Code 1 MRC in Zip Code 2 MRC in Zip Code 3 MRC on Corporate MRC at Branch Office MRC not located on Headquarters Campus Corporate Campus Location relative to Network Topology MRC directly connected to MRC connected to Corporate None Corporate Intranet Intranet via VPN Interactivity Related Presence State Screen Saver Active on Screen Saver not Active on None Console Console No Interactive Shell Program Interactive shell program Interactive shell program running running active within last T time period No input received from directly Input received from directly None connected input device such as connected input device such as keyboard or pointing device keyboard or pointing device within T time period within T time period CPU Idle Time above threshold CPU Idle Time below threshold None Network Connection Related Presence State Secure connection between Insecure connection between None MRC and network MRC and network Speed of network used by MRC Speed of network used by MRC None is below speed threshold is above speed threshold

Process 500 then moves to processing block 506, where a resource control policy is applied based on the presence information. Processing block 506 may be implemented by instructions included in the policy application module 340, illustrated in FIG. 3. Alternatively, a combination of instructions in the URL categorization module 330, policy determination module 335, and policy application module 340 may implement processing block 506. Process 500 then moves to end block 508 and terminates.

Tables 2-4 below illustrates example resource control policies in some implementations. The resource policies may vary based, at least in part, on presence information.

TABLE 2 Location or Interactivity Related Resource Control Policies Third Presence First Presence State Second Presence State State Resource Transmit or receive Rate Transmit or receive Rate Transmit or receive Control Limit at first threshold Limit at second Rate Limit at third Policy threshold threshold Examples Network route used for Network route used for Network route used communication set to communication set to for communication route 1 route 2 set to route 3 Encryption not required Encryption required for None for network communication communication Network data sent or Network data sent or None received is not required received is required to to be signed be signed URL category set 1 is URL category set 2 is URL category set 3 is allowed allowed allowed Network application set Network application set Network application 1 is allowed 2 is allowed set 3 is allowed Sending or receiving Sending or receiving Sending or receiving network data on network network data on network network data on port set 1 is allowed port set 2 is allowed network port set 2 is allowed Email sent by MRC Email sent by MRC Email sent by MRC includes headers H1 or includes headers H2 or includes headers H3 footers F1 footers F2 or footers F3

TABLE 3 Network Connection Related Resource Control Policies First Presence Second Presence State State Third Presence State Resource Require Data Sent Do not Require None Control or received to be Data Sent or Policy encrypted Received to be Examples Encrypted Require all data Require sent or Do not require data sent or sent or received to received and data received to be electronically be electronically meeting a set of signed signed characteristics to be electronically signed Limit the speed of Limit the speed of Do not limit the speed of data data sent or data sent or sent or received on the network received on received on connection network network connection below connection below a first threshold a second threshold Do not require Require a first Require a second level of data sent or level of compression for data sent or received on compression for received on network connection. network data sent or connection to be received on compressed network connection.

TABLE 4 Interactivity Related Resource control Policies First Presence Second Presence State State Third Presence State Resource Allowed URL Allowed URL Allowed URL categories is Control categories is URL categories is URL URL category set 3 Policy category set 1 category set 2 Examples Email can be sent Email can be No email can be sent or or received received but not sent received Protocol ports Protocol ports which Protocol ports which can send which can send can send data is port data is port set 3 data is port set 1 set 2 Protocol ports Protocol ports which Protocol ports which can which can receive can receive data is receive data is port set 6 data is port set 4 port set 5 Max amount of Max amount of CPU No limit on the use of CPU, or CPU utilization, utilization, or I/O I/O channel, or network data or I/O channel channel utilization, sent or received. utilization, or or network data network data sent, sent, or network or network data data received, is received, is below below a second a first threshold threshold

FIG. 6 is a flowchart illustrating one embodiment of a method for managing computing resources based on presence information. Process 600 may be implemented by a resource manager 110, as illustrated in FIG. 2, or the resource manager 110 illustrated in FIGS. 2 and 3, which is implemented as a URL filter server. Alternatively, process 600 may be implemented by a network infrastructure component such as, a firewall, (such as firewall 125 illustrated in FIG. 1), proxy server, router, cache, router, or switch. Process 600 begins at start block 610 and then moves to processing block 612, where presence data is determined. Processing block 612 may be implemented by instructions included in the presence management module 327, illustrated in FIG. 3. The presence data determined in processing block 612 may include any of the presence examples or data types discussed above with respect to processing block 504 in FIG. 5. Process 600 then moves to block 615, where a resource access request is received. This resource access request may be resource access request 111 illustrated in FIG. 1 or 2 in some implementations.

The type of resource requested in block 615 may vary by implementation. For example, some implementations may request access to hardware resources, such as memory, disk space, I/O channel bandwidth, or processor time in processing block 615. Other implementations may request access to network resources. For example, network resources requested in block 615 may include network content identified by a URL, an ability to send or receive network data or packets over one or more network protocols or ports, or the ability to send or receive network data at a particular rate. Requests for network resources may also include an ability to send or receive network data. These are examples and are not intended to be limiting.

Once the resource access request is received in processing block 615, process 600 moves to decision block 620, which determines whether the presence data determined in processing block 612 is set to a first presence state. A first presence state may represent any presence state that can be distinguished from another presence state. For example, any of the presence states described in Table 1 may be a first presence state and evaluated in decision block 620.

While only two values of a presence state are illustrated in FIG. 6 (a first presence state and a second presence state), it should be understood that presence data may have any number of states or values. Some implementations of process 600 therefore may distinguish between more than two values of presence data and apply more than two different resource control policies depending on the value of the presence data. Additionally, some implementations of process 600 may define ranges of presence data, with the ranges determining which resource control policy is applied to the resource access request received in processing block 615.

If the presence data is set to the first presence state, process 600 moves to block 625, where a resource control policy associated with the first presence state is applied to the resource access request. If it is determined in block 625 that the presence state is not set to a first presence state, then process 600 moves to processing block 640, where a resource control policy associated with a second presence state is applied. In either case, process 600 then moves to end block 630 and terminates.

FIG. 7 is a flowchart illustrating one embodiment of a method for managing resources based on presence information. Process 700 may be implemented by instructions included in a resource manager module 110, illustrated in FIG. 1, or a resource manager 110 illustrated in FIG. 1 or FIG. 3. Process 700 begins at start block 705 and then moves to processing block 710. In processing block 710, a URL access request is received. The URL access request may be a resource request 111 illustrated in FIG. 2. The URL access request may be in the form of an http request in some implementations. The URL access request of processing block 710 may include information in addition to the URL being requested. For example, it may include the IP address of the client computer requesting access to the URL or the user name of a user logged into the client computer and requesting the URL.

In processing block 715, presence data for the client computer generating the URL access request is determined. For example, in some implementations, a database of presence information for each client computer on a communication network may be maintained. Processing block 715 may search the database for presence information based on information received in the URL access request of processing block 710. For example, in some implementations it may determine the presence information based on the source IP address or user specified in the URL access request.

In processing block 720, the category of the URL received in the URL access request of processing block 710 is determined. For example, to determine the category of the URL, some implementations may search a URL category database mapping URLs to one or more categories. Some other implementations may perform dynamic characterization of the URL. For example, in block 720, the network content identified by the URL may be retrieved. The content may be parsed and characterizations of the content performed based on attributes of the content such as links included in the content, keywords detected in the content, pictures or graphics included in the content etc. Based on this analysis, one or more categories of the content may be determined.

In decision block 725, process 700 determines if the presence information determined in block 715 is equal to a first presence state. The first presence state and second presence state referred to in block 725, 730, and 735 may be at least any of the presence states described in Table 1 above. If the presence information in block 725 does equal a first presence state, process 700 moves to block 735, where one or more URL categories that are allowed when the presence information equals the first presence state are determined. If the presence information in block 725 does not equal a first presence state, process 700 moves to block 730, where one or more URL categories allowed by a policy configured for a second presence state are determined.

Process 700 then moves to decision block 740, where it is determined if the category of the URL determined in processing block 720 is in one of the allowed categories. If the URL category is allowed, process 700 moves to processing block 750, where access to content at the site identified by the URL is allowed. In processing block 750, a reply message may be sent to the sender of the URL access request received in processing block 710, with a status code indicating the request is allowed. Conversely, if in block 740 it is determined that the category of the URL requested is not allowed, process 700 moves to processing block 745, where access to the content identified by the URL is denied. In some implementations, processing block 745 may send a reply to the sender of the URL access request, with a status code indicating that access to the content identified b the URL is not authorized. Process 700 then moves to end block 755 and terminates.

FIG. 8 is a flowchart illustrating one embodiment of a method for generating presence data. Process 800 may be performed in some implementations by presence detectors 105 as illustrated in FIG. 1. In some implementations, a presence detector 105 illustrated in FIG. 2 and FIG. 4 may perform process 800. Process 800 may also be implemented by instructions included in the presence detection module 285 and the URL filter communication module 288, illustrated in FIG. 3. Process 800 begins at start block 805 and then moves to processing block 810, where presence data is determined. For example, process 800 may determine any of the example presence data shown in Table 1 above.

In processing block 815, the presence data determined in block 810 is sent to a server. For example, in some implementations, the server may be a URL filtering server 110 as illustrated in FIG. 1. However, other embodiments may send the presence information to other types of servers. For example, a server may include a network control server such as a firewall or other network infrastructure device. Servers may also include other applications, processes or threads running on the computer performing process 800. For example, presence information may be sent to a hardware resource manager operating on the client computer running process 800 to control hardware resources of a client computing device.

In processing block 820, process 800 waits for a time period. Processing block 820 may be performed in order to efficiently manage the client processing resources consumed by process 800. For example, without a wait period defined by processing block 820, process 800 may continuously send presence data to a server, unnecessarily consuming resources on the computer running process 800.

The length of the time period in block 820 may vary by implementation. Some implementations may wait less than one second. Other implementations may wait for 5, 10, 15, or 20 seconds. Any waiting period between 1 microsecond and 30 minutes may be used by various implementations. Implementations may determine the specific time period based on implementation specific trade-offs between accuracy and timeliness of presence information, which benefits from a shorter time period, and consumption of processing and other resources, which are reduced when using longer time periods.

After the time period of processing block 820 has elapsed, process 800 moves to decision block 825, which determines whether process 800 should shutdown. A shutdown may be appropriate, for example, if the computer running process 800 is shutting down. If a shutdown should be performed, process 800 moves to end block 830 and process 800 terminates. If it is determined in block 525 that no shutdown should be performed, process 800 then returns to processing block 810 and process 800 repeats.

FIG. 9 is a flowchart illustrating one embodiment of determining presence data. Process 900 may be performed in some implementations by a resource manager 110, as illustrated in FIG. 1, or a URL filtering server, such as URL filtering server 110 illustrated in FIG. 2. Process 900 may be implemented by instructions included in the presence management module 327, illustrated in FIG. 3. Process 900 begins at start block 905 and then moves to block 910 where presence data is received. Presence data may be received from a presence detector 115, as illustrated in FIG. 2. Some implementations may implement a presence detector, such as presence detector 115 illustrated in FIG. 2 as a presence detector. Process 900 then moves to processing block 920 where the received presence data is stored to a data store. In some implementations, the presence data may be stored in a database. In other implementations, an in memory datastore may be used, such as working memory 305 illustrated in FIG. 3. The presence data stored in block 920 may later be read by other processes, for example, process 700 illustrated in FIG. 7 may read presence data from the datastore of processing block 560 in processing block 715 of FIG. 7. After the presence data is stored, process 900 moves to block 930 where process 900 terminates.

The technology is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, processor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.

As used herein, instructions refer to computer-implemented steps for processing information in the system. Instructions can be implemented in software, firmware or hardware and include any type of programmed step undertaken by components of the system.

A processor may be any conventional general purpose single- or multi-chip processor such as a Pentium® processor, a Pentium® Pro processor, a 8051 processor, a MIPS® processor, a Power PC® processor, or an Alpha® processor. In addition, the processor may be any conventional special purpose processor such as a digital signal processor or a graphics processor. The processor typically has conventional address lines, conventional data lines, and one or more conventional control lines.

The system is comprised of various modules as discussed in detail. As can be appreciated by one of ordinary skill in the art, each of the modules comprises various sub-routines, procedures, definitional statements and macros. Each of the modules are typically separately compiled and linked into a single executable program. Therefore, the description of each of the modules is used for convenience to describe the functionality of the preferred system. Thus, the processes that are undergone by each of the modules may be arbitrarily redistributed to one of the other modules, combined together in a single module, or made available in, for example, a shareable dynamic link library.

The system may be used in connection with various operating systems such as Linux®, UNIX® or Microsoft Windows®.

The system may be written in any conventional programming language such as C, C++, BASIC, Pascal, or Java, and ran under a conventional operating system. C, C++, BASIC, Pascal, Java, and FORTRAN are industry standard programming languages for which many commercial compilers can be used to create executable code. The system may also be written using interpreted languages such as Perl, Python or Ruby.

Those of skill will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

In one or more example embodiments, the functions and methods described may be implemented in hardware, software, or firmware executed on a processor, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media include both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

The foregoing description details certain embodiments of the systems, devices, and methods disclosed herein. It will be appreciated, however, that no matter how detailed the foregoing appears in text, the systems, devices, and methods can be practiced in many ways. As is also stated above, it should be noted that the use of particular terminology when describing certain features or aspects of the invention should not be taken to imply that the terminology is being re-defined herein to be restricted to including any specific characteristics of the features or aspects of the technology with which that terminology is associated.

It will be appreciated by those skilled in the art that various modifications and changes may be made without departing from the scope of the described technology. Such modifications and changes are intended to fall within the scope of the embodiments. It will also be appreciated by those of skill in the art that parts included in one embodiment are interchangeable with other embodiments; one or more parts from a depicted embodiment can be included with other depicted embodiments in any combination. For example, any of the various components described herein and/or depicted in the Figures may be combined, interchanged or excluded from other embodiments.

With respect to the use of substantially any plural and/or singular terms herein, those having skill in the art can translate from the plural to the singular and/or from the singular to the plural as is appropriate to the context and/or application. The various singular/plural permutations may be expressly set forth herein for sake of clarity.

It will be understood by those within the art that, in general, terms used herein are generally intended as “open” terms (e.g., the term “including” should be interpreted as “including but not limited to,” the term “having” should be interpreted as “having at least,” the term “includes” should be interpreted as “includes but is not limited to,” etc.).

It will be further understood by those within the art that if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases “at least one” and “one or more” to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim recitation to embodiments containing only one such recitation, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an” (e.g., “a” and/or “an” should typically be interpreted to mean “at least one” or “one or more”); the same holds true for the use of definite articles used to introduce claim recitations. In addition, even if a specific number of an introduced claim recitation is explicitly recited, those skilled in the art will recognize that such recitation should typically be interpreted to mean at least the recited number (e.g., the bare recitation of “two recitations,” without other modifiers, typically means at least two recitations, or two or more recitations). Furthermore, in those instances where a convention analogous to “at least one of A, B, and C, etc.” is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., “a system having at least one of A, B, and C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). In those instances where a convention analogous to “at least one of A, B, or C, etc.” is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., “a system having at least one of A, B, or C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase “A or B” will be understood to include the possibilities of “A” or “B” or “A and B.”

While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting. 

We claim:
 1. A method of managing a user's access to network resources, comprising: receiving, from the computer over a network, first presence data of a logged in user of the computer; receiving a first network request by the logged in user from the computer for first resources external to the computer; executing instructions on computer hardware to determine a first resource control policy to apply to the first network request based on the first presence data; executing instructions on computer hardware to apply the first resource control policy to the first network request; receiving, from the computer over the network, second presence data of the logged in user of the computer; receiving a second network request by the logged in user from the computer for second resources external to the computer; executing instructions on computer hardware to determine a second resource control policy to apply to the second network request based on the second presence data; and executing instructions on computer hardware to apply the second resource control policy to the second network request.
 2. The method of claim 1, wherein the first and second presence data are received over the network from an agent running on the computer.
 3. The method of claim 2, wherein the first and second presence data indicate a first and second interactivity level of the logged in user.
 4. The method of claim 1, wherein the first and second presence data indicate a first and second ambient light level at the computer, and wherein the first and second resource control policies are determined based on the first and second ambient light levels at the computer.
 5. The method of claim 1, wherein the first and second presence data indicate first and second display settings of the user's display, and wherein the first and second resource control policies are determined based on the first and second display settings of the user's display.
 6. The method of claim 1, wherein the first and second display settings indicate first and second font sizes displayed on the user's computer, and wherein the first and second resource control policies are determined based on the first and second font sizes.
 7. The method of claim 1, wherein the first and second display settings indicate first and second contrast levels displayed on the user's computer, and wherein the first and second resource control policies are determined based on the first and second contrast levels.
 8. The method of claim 1, wherein the first and second presence data comprise first and second indications respectively of whether a privacy shield is installed on the user's display and wherein the first and second resource control policies are determined based on the first and second indications of whether a privacy shield is installed on the user's display.
 9. The method of claim 1, wherein the first and second presence data indicate first and second viewing angles supported by the user's display and wherein the first and second resource control policies are determined based on the first and second viewing angles supported by the user's display.
 10. The method of claim 1, wherein the first and second presence data indicate first and second display types of the user's display and wherein the first and second resource control policies are determined based on the first and second display types of the user's display.
 11. The method of claim 1, wherein the first and second presence data indicates first and second physical locations of the user's computer, wherein the first and second resource control policies are determined based on the first and second physical locations, and wherein the first resource control policy indicates the user's network communication is not encrypted and the second resource control policy indicates the user's network communication is encrypted.
 12. The method of claim 1, wherein the first and second presence data indicates first and second physical locations of the user's computer, wherein the first and second resource control policies are determined based on the first and second physical locations, and wherein the first resource control policy indicates a first rate at which the user's computer can send or receive network data and the second resource control policy indicates a second rate at which the user's computer can send or receive network data.
 13. The method of claim 1, wherein the first and second presence data indicates first and second physical locations of the user's computer, wherein the first and second resource control policies are determined based on the first and second physical locations, and wherein the first resource control policy indicates a first email header or footer to include in email sent by the user and the second resource control policy indicates a second email header or footer to include in email sent by the user.
 14. The method of claim 1, wherein the first and second presence data indicates first and second speeds of a network connection of the user's computer, wherein the first and second resource control policies are determined based on the first and second speeds, and wherein the first resource control policy indicates a first rate at which the user may send or receive data over the network connection and the second resource control policy indicates a second rate at which the user may send or receive data over the network connection.
 15. The method of claim 1, wherein the first and second presence data indicates first and second security levels of a network connection of the user's computer, wherein the first and second resource control policies are determined based on the first and second security levels, and wherein the first resource control policy indicates data the user sends or receives over the network connection is encrypted and the second resource control policy indicates data the user sends or receives over the network connection is not encrypted.
 16. An apparatus, comprising: a memory; one or more electronic hardware processors, configured to fetch instructions from the memory; and a network interface, operatively coupled to the one or more electronic hardware processors, wherein the memory stores instructions that configure the one or more processors to perform a method of managing a computers access to network resources, the method comprising: receiving, from the computer over a network, first presence data of a logged in user of the computer; receiving a first network request by the logged in user from the computer for first resources external to the computer; determining a first resource control policy to apply to the first network request by the logged in user based on the first presence data; applying the first resource control policy to the first network request; receiving, from the computer over the network, second presence data of the logged in user of the computer; receiving a second network request by the logged in user from the computer for second resources external to the computer; determining a second resource control policy to apply to the second network request based on the second presence data; and applying the second resource control policy to the second network request.
 17. A non transitory computer readable storage medium comprising instructions that when executed cause one or more processors to perform a method of managing a user's access to network resources, the method comprising: receiving, from the computer over a network, first presence data of a logged in user of the computer; receiving a first network request by the logged in user from the computer for first resources external to the computer; determining a first resource control policy to apply to the first network request by the logged in user for the first resources external to the computer based on the first presence data; applying the first resource control policy to the first network request; receiving, from the computer over the network, second presence data of the logged in user of the computer; receiving a second network request by the logged in user from the computer for second resources external to the computer; determining a second resource control policy to apply to the second network request by the logged in user based on the second presence data; and applying the second resource control policy to the second network request. 